package com.base.vistter.iframe.inverter.model;

import com.base.vistter.iframe.entity.SysUser;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@NoArgsConstructor
@AllArgsConstructor
@Builder
@Getter
public class LoginResponse implements Serializable {

    private String token;

    private SysUser sysUser;

    public LoginResponse setToken(String token) {
        this.token = token;
        return this;
    }

    public LoginResponse setSysUser(SysUser sysUser) {
        this.sysUser = sysUser;
        return this;
    }
}
